/*
 * @Description:
 * @Date: 2024-07-27 14:29:24
 * @LastEditTime: 2024-10-15 11:50:03
 */
// 全局要用的类型放到这里

type IResData<T> = {
  code: number
  msg: string
  data: T
}

// uni.uploadFile文件上传参数
type IUniUploadFileOptions = {
  file?: File
  files?: UniApp.UploadFileOptionFiles[]
  filePath?: string
  name?: string
  formData?: any
}

type IUserInfo = {
  hint: any
  residentId: any
  accessToken: any
  gridMemberId: any
  name: any
  isPartyMember: any
  phone: any
  type: any
  userId: any
  isLogined: any
}

enum TestEnum {
  A = 'a',
  B = 'b',
}
